//
//  goods.m
//  综合练习goods
//
//  Created by 小白 on 16/2/28.
//  Copyright © 2016年 小白. All rights reserved.
//

#import "goods.h"

@implementation goods
-(instancetype)initWithDictionary:(NSDictionary *)dic
{
    self = [super init];
    if (self) {
        [self setValuesForKeysWithDictionary:dic];
    }
    return self;
}

+(instancetype)goodsWithDictionary:(NSDictionary *)dic
{
   return  [[self alloc]initWithDictionary:dic];
}

@end
